package de.mariusharbeck.saralentz.entity;

import java.util.ArrayList;

@SuppressWarnings("serial")
public class SelectableAlbum extends Album {
	private boolean selected;
	private ArrayList<SelectableBild> selectableBilder;

	public SelectableAlbum(boolean selected, Album album,
			ArrayList<SelectableBild> selectableBilder) {
		super(album.getName(), album.getBilder());
		setId(album.getId());
		this.selected = selected;
		this.selectableBilder = selectableBilder;
	}

	public SelectableAlbum() {
		this(false, new Album(), new ArrayList<SelectableBild>());
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	public ArrayList<SelectableBild> getSelectableBilder() {
		return selectableBilder;
	}

	public void setSelectableBilder(ArrayList<SelectableBild> selectableBilder) {
		this.selectableBilder = selectableBilder;
	}

}
